home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 15 / macformat_15.iso / C de cerca / Codewarrior Lite / MacOS Support / Headers / ANSI Headers / errno.h < prev    next >
Text File  |  1995-12-29  |  785b  |  45 lines

  1. /* errno.h standard header */
  2. #ifndef _ERRNO
  3. #define _ERRNO
  4. #ifndef _YVALS
  5. #include <yvals.h>
  6. #endif
  7.  
  8. #if __MWERKS__
  9. #pragma options align=mac68k
  10.  
  11. #if __CFM68K__ && __USING_IMPORTED_ANSI__
  12. #pragma import on
  13. #endif
  14. #endif
  15.  
  16.         /* error codes */
  17. #define EDOM    _EDOM
  18. #define ERANGE    _ERANGE
  19. #define EFPOS    _EFPOS
  20. #define EILSEQ    _EILSEQ
  21.     /* ADD YOURS HERE */
  22. #define _NERR    _ERRMAX    /* one more than last code */
  23.         /* declarations */
  24. extern int errno;
  25.  
  26. #if __MWERKS__
  27. #if __CFM68K__ && __USING_IMPORTED_ANSI__
  28. #pragma import reset
  29. #endif
  30.  
  31. #pragma options align=reset
  32. #endif
  33.  
  34. #endif
  35.  
  36. /*
  37.  * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED. 
  38.  * Consult your license regarding permissions and restrictions.
  39.  */
  40.  
  41. /* Change log:
  42.  *94June04 PlumHall baseline
  43.  *94Oct07 Inserted MW changes.
  44.  */
  45.